package com.dc.aimc.gateway;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = "com.dc.aimc.user")
public class AimcGatewayApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(AimcGatewayApplication.class).web(WebApplicationType.REACTIVE).run(args);
    }
}
